Optimal. Leaf size=178 \[ \frac {3 d^3 \sqrt {b \sin (e+f x)} \sqrt {d \sec (e+f x)} \tan ^{-1}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right )}{4 \sqrt {b} f \sqrt {b \tan (e+f x)}}+\frac {3 d^3 \sqrt {b \sin (e+f x)} \sqrt {d \sec (e+f x)} \tanh ^{-1}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right )}{4 \sqrt {b} f \sqrt {b \tan (e+f x)}}+\frac {d^2 \sqrt {b \tan (e+f x)} (d \sec (e+f x))^{3/2}}{2 b f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 178, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {2613, 2616, 2564, 329, 212, 206, 203} \[ \frac {d^2 \sqrt {b \tan (e+f x)} (d \sec (e+f x))^{3/2}}{2 b f}+\frac {3 d^3 \sqrt {b \sin (e+f x)} \sqrt {d \sec (e+f x)} \tan ^{-1}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right )}{4 \sqrt {b} f \sqrt {b \tan (e+f x)}}+\frac {3 d^3 \sqrt {b \sin (e+f x)} \sqrt {d \sec (e+f x)} \tanh ^{-1}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right )}{4 \sqrt {b} f \sqrt {b \tan (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 206
Rule 212
Rule 329
Rule 2564
Rule 2613
Rule 2616
Rubi steps
\begin {align*} \int \frac {(d \sec (e+f x))^{7/2}}{\sqrt {b \tan (e+f x)}} \, dx &=\frac {d^2 (d \sec (e+f x))^{3/2} \sqrt {b \tan (e+f x)}}{2 b f}+\frac {1}{4} \left (3 d^2\right ) \int \frac {(d \sec (e+f x))^{3/2}}{\sqrt {b \tan (e+f x)}} \, dx\\ &=\frac {d^2 (d \sec (e+f x))^{3/2} \sqrt {b \tan (e+f x)}}{2 b f}+\frac {\left (3 d^3 \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}\right ) \int \frac {\sec (e+f x)}{\sqrt {b \sin (e+f x)}} \, dx}{4 \sqrt {b \tan (e+f x)}}\\ &=\frac {d^2 (d \sec (e+f x))^{3/2} \sqrt {b \tan (e+f x)}}{2 b f}+\frac {\left (3 d^3 \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {x} \left (1-\frac {x^2}{b^2}\right )} \, dx,x,b \sin (e+f x)\right )}{4 b f \sqrt {b \tan (e+f x)}}\\ &=\frac {d^2 (d \sec (e+f x))^{3/2} \sqrt {b \tan (e+f x)}}{2 b f}+\frac {\left (3 d^3 \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}\right ) \operatorname {Subst}\left (\int \frac {1}{1-\frac {x^4}{b^2}} \, dx,x,\sqrt {b \sin (e+f x)}\right )}{2 b f \sqrt {b \tan (e+f x)}}\\ &=\frac {d^2 (d \sec (e+f x))^{3/2} \sqrt {b \tan (e+f x)}}{2 b f}+\frac {\left (3 d^3 \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}\right ) \operatorname {Subst}\left (\int \frac {1}{b-x^2} \, dx,x,\sqrt {b \sin (e+f x)}\right )}{4 f \sqrt {b \tan (e+f x)}}+\frac {\left (3 d^3 \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}\right ) \operatorname {Subst}\left (\int \frac {1}{b+x^2} \, dx,x,\sqrt {b \sin (e+f x)}\right )}{4 f \sqrt {b \tan (e+f x)}}\\ &=\frac {3 d^3 \tan ^{-1}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right ) \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}{4 \sqrt {b} f \sqrt {b \tan (e+f x)}}+\frac {3 d^3 \tanh ^{-1}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right ) \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}{4 \sqrt {b} f \sqrt {b \tan (e+f x)}}+\frac {d^2 (d \sec (e+f x))^{3/2} \sqrt {b \tan (e+f x)}}{2 b f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 6.51, size = 136, normalized size = 0.76 \[ \frac {d^3 \sqrt {b \tan (e+f x)} \sqrt {d \sec (e+f x)} \left (2 \sqrt [4]{\tan ^2(e+f x)} \sec ^{\frac {3}{2}}(e+f x)-3 \tan ^{-1}\left (\frac {\sqrt {\sec (e+f x)}}{\sqrt [4]{\tan ^2(e+f x)}}\right )+3 \tanh ^{-1}\left (\frac {\sqrt {\sec (e+f x)}}{\sqrt [4]{\tan ^2(e+f x)}}\right )\right )}{4 b f \sqrt [4]{\tan ^2(e+f x)} \sqrt {\sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.81, size = 782, normalized size = 4.39 \[ \left [-\frac {6 \, b d^{3} \sqrt {-\frac {d}{b}} \arctan \left (\frac {{\left (\cos \left (f x + e\right )^{3} - 5 \, \cos \left (f x + e\right )^{2} - {\left (\cos \left (f x + e\right )^{2} + 6 \, \cos \left (f x + e\right ) + 4\right )} \sin \left (f x + e\right ) - 2 \, \cos \left (f x + e\right ) + 4\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {-\frac {d}{b}} \sqrt {\frac {d}{\cos \left (f x + e\right )}}}{4 \, {\left (d \cos \left (f x + e\right )^{2} - {\left (d \cos \left (f x + e\right ) + d\right )} \sin \left (f x + e\right ) - d\right )}}\right ) \cos \left (f x + e\right ) - 3 \, b d^{3} \sqrt {-\frac {d}{b}} \cos \left (f x + e\right ) \log \left (\frac {d \cos \left (f x + e\right )^{4} - 72 \, d \cos \left (f x + e\right )^{2} + 8 \, {\left (7 \, \cos \left (f x + e\right )^{3} - {\left (\cos \left (f x + e\right )^{3} - 8 \, \cos \left (f x + e\right )\right )} \sin \left (f x + e\right ) - 8 \, \cos \left (f x + e\right )\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {-\frac {d}{b}} \sqrt {\frac {d}{\cos \left (f x + e\right )}} + 28 \, {\left (d \cos \left (f x + e\right )^{2} - 2 \, d\right )} \sin \left (f x + e\right ) + 72 \, d}{\cos \left (f x + e\right )^{4} - 8 \, \cos \left (f x + e\right )^{2} - 4 \, {\left (\cos \left (f x + e\right )^{2} - 2\right )} \sin \left (f x + e\right ) + 8}\right ) - 16 \, d^{3} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {d}{\cos \left (f x + e\right )}}}{32 \, b f \cos \left (f x + e\right )}, \frac {6 \, b d^{3} \sqrt {\frac {d}{b}} \arctan \left (\frac {{\left (\cos \left (f x + e\right )^{3} - 5 \, \cos \left (f x + e\right )^{2} + {\left (\cos \left (f x + e\right )^{2} + 6 \, \cos \left (f x + e\right ) + 4\right )} \sin \left (f x + e\right ) - 2 \, \cos \left (f x + e\right ) + 4\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {d}{b}} \sqrt {\frac {d}{\cos \left (f x + e\right )}}}{4 \, {\left (d \cos \left (f x + e\right )^{2} + {\left (d \cos \left (f x + e\right ) + d\right )} \sin \left (f x + e\right ) - d\right )}}\right ) \cos \left (f x + e\right ) + 3 \, b d^{3} \sqrt {\frac {d}{b}} \cos \left (f x + e\right ) \log \left (\frac {d \cos \left (f x + e\right )^{4} - 72 \, d \cos \left (f x + e\right )^{2} - 8 \, {\left (7 \, \cos \left (f x + e\right )^{3} + {\left (\cos \left (f x + e\right )^{3} - 8 \, \cos \left (f x + e\right )\right )} \sin \left (f x + e\right ) - 8 \, \cos \left (f x + e\right )\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {d}{b}} \sqrt {\frac {d}{\cos \left (f x + e\right )}} - 28 \, {\left (d \cos \left (f x + e\right )^{2} - 2 \, d\right )} \sin \left (f x + e\right ) + 72 \, d}{\cos \left (f x + e\right )^{4} - 8 \, \cos \left (f x + e\right )^{2} + 4 \, {\left (\cos \left (f x + e\right )^{2} - 2\right )} \sin \left (f x + e\right ) + 8}\right ) + 16 \, d^{3} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {d}{\cos \left (f x + e\right )}}}{32 \, b f \cos \left (f x + e\right )}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (d \sec \left (f x + e\right )\right )^{\frac {7}{2}}}{\sqrt {b \tan \left (f x + e\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.65, size = 758, normalized size = 4.26 \[ \frac {\left (6 i \sqrt {\frac {i \cos \left (f x +e \right )-i+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {-\frac {i \cos \left (f x +e \right )-i-\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {-\frac {i \left (-1+\cos \left (f x +e \right )\right )}{\sin \left (f x +e \right )}}\, \EllipticF \left (\sqrt {\frac {i \cos \left (f x +e \right )-i+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}, \frac {\sqrt {2}}{2}\right ) \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-3 i \sqrt {\frac {i \cos \left (f x +e \right )-i+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {-\frac {i \cos \left (f x +e \right )-i-\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {-\frac {i \left (-1+\cos \left (f x +e \right )\right )}{\sin \left (f x +e \right )}}\, \EllipticPi \left (\sqrt {\frac {i \cos \left (f x +e \right )-i+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}, \frac {1}{2}-\frac {i}{2}, \frac {\sqrt {2}}{2}\right ) \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-3 i \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right ) \sqrt {\frac {i \cos \left (f x +e \right )-i+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {-\frac {i \cos \left (f x +e \right )-i-\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {-\frac {i \left (-1+\cos \left (f x +e \right )\right )}{\sin \left (f x +e \right )}}\, \EllipticPi \left (\sqrt {\frac {i \cos \left (f x +e \right )-i+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}, \frac {1}{2}+\frac {i}{2}, \frac {\sqrt {2}}{2}\right )+3 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right ) \sqrt {\frac {i \cos \left (f x +e \right )-i+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {-\frac {i \cos \left (f x +e \right )-i-\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {-\frac {i \left (-1+\cos \left (f x +e \right )\right )}{\sin \left (f x +e \right )}}\, \EllipticPi \left (\sqrt {\frac {i \cos \left (f x +e \right )-i+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}, \frac {1}{2}-\frac {i}{2}, \frac {\sqrt {2}}{2}\right )-3 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right ) \sqrt {\frac {i \cos \left (f x +e \right )-i+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {-\frac {i \cos \left (f x +e \right )-i-\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {-\frac {i \left (-1+\cos \left (f x +e \right )\right )}{\sin \left (f x +e \right )}}\, \EllipticPi \left (\sqrt {\frac {i \cos \left (f x +e \right )-i+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}, \frac {1}{2}+\frac {i}{2}, \frac {\sqrt {2}}{2}\right )+2 \cos \left (f x +e \right ) \sqrt {2}-2 \sqrt {2}\right ) \left (\frac {d}{\cos \left (f x +e \right )}\right )^{\frac {7}{2}} \sin \left (f x +e \right ) \cos \left (f x +e \right ) \sqrt {2}}{8 f \left (-1+\cos \left (f x +e \right )\right ) \sqrt {\frac {b \sin \left (f x +e \right )}{\cos \left (f x +e \right )}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (d \sec \left (f x + e\right )\right )^{\frac {7}{2}}}{\sqrt {b \tan \left (f x + e\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (\frac {d}{\cos \left (e+f\,x\right )}\right )}^{7/2}}{\sqrt {b\,\mathrm {tan}\left (e+f\,x\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________